package io.wdb.modules.activity.wxapp.dao;

import io.wdb.modules.activity.wxapp.entity.HdUserEntity;
import io.wdb.modules.activity.wxapp.entity.HdUserRankEntity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import io.wdb.modules.manager.sys.dao.BaseDao;


/**
 * 微信用户信息
 * 
 * @author wdb
 * @email xulin@wdb007.com
 * @date 2018-01-20 14:46:48
 */
@Mapper
public interface HdUserDao extends BaseDao<HdUserEntity> {

	List<HdUserRankEntity> queryReadingList(Map<String, Object> map);
	
	List<HdUserRankEntity> queryWeekReadingList(Map<String, Object> map);
	
	HdUserRankEntity queryUserReadRank(Map<String, Object> map);
	
	
	int updateByUnionid(HdUserEntity entity);
}
